package com.yanqu.road.entity.activity.lottery;


import com.yanqu.road.entity.enums.eActivityConfigType;
import com.yanqu.road.utils.string.StringUtils;

import java.util.List;

public class ActivityLotteryParamInfo {

    private int activityId;

    private int id;

    private String skinExtractLuckyParam;
    private String skinExtractAddParam;
    private String skinExtractRewardRepeatControl;
    private String skinShowList;
    private String skinExtractSpecialParam;

    private int lotteryType;

    private int interfaceStyle;

    private String name;
    private String desc;



    private List<Integer> luckyParam;       // 服装前n次抽盲盒，活动共享m*服务器数量个隐藏款；抽取的概率千分比（无隐藏款配0）
    private List<Integer> addParam;         // 服装累计抽取m次后，每次抽取增加权重
    private List<String> controlList;       // 服装保底次数，4;20 代表当前抽奖达到20次时，若总获取低于4个不重复的，则下次一定获得新奖励（无隐藏款配0）


    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSkinExtractLuckyParam() {
        return skinExtractLuckyParam;
    }

    public void setSkinExtractLuckyParam(String skinExtractLuckyParam) {
        this.skinExtractLuckyParam = skinExtractLuckyParam;
        luckyParam = StringUtils.stringToIntegerList(skinExtractLuckyParam, ";");
    }

    public String getSkinExtractAddParam() {
        return skinExtractAddParam;
    }

    public void setSkinExtractAddParam(String skinExtractAddParam) {
        this.skinExtractAddParam = skinExtractAddParam;
        addParam = StringUtils.stringToIntegerList(skinExtractAddParam, ";");
    }

    public String getSkinExtractRewardRepeatControl() {
        return skinExtractRewardRepeatControl;
    }

    public void setSkinExtractRewardRepeatControl(String skinExtractRewardRepeatControl) {
        this.skinExtractRewardRepeatControl = skinExtractRewardRepeatControl;
        controlList = StringUtils.stringToStringList(skinExtractRewardRepeatControl, "\\|");

    }

    public String getSkinShowList() {
        return skinShowList;
    }

    public void setSkinShowList(String skinShowList) {
        this.skinShowList = skinShowList;
    }

    public String getSkinExtractSpecialParam() {
        return skinExtractSpecialParam;
    }

    public void setSkinExtractSpecialParam(String skinExtractSpecialParam) {
        this.skinExtractSpecialParam = skinExtractSpecialParam;
    }

    public int getLotteryType() {
        return lotteryType;
    }

    public void setLotteryType(int lotteryType) {
        this.lotteryType = lotteryType;
    }

    public List<Integer> getLuckyParam() {
        return luckyParam;
    }

    public List<Integer> getAddParam() {
        return addParam;
    }

    public List<String> getControlList() {
        return controlList;
    }

    public int getInterfaceStyle() {
        return interfaceStyle;
    }

    public void setInterfaceStyle(int interfaceStyle) {
        this.interfaceStyle = interfaceStyle;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
